#ifndef COMPILE_ONLINE
#include "header.cpp"
#endif

void Test1()
{
    std::vector<int> v = {1,2,3,4,5,6};
    int ret = Solution().Max(v);
    if(ret == 6)
    {
        std::cout << "测试用例1通过" << std::endl;
    }
    else
    {
        std::cerr << "测试用例1未通过" << std::endl;
    }
}

void Test2()
{
    std::vector<int> v = {-1,-2,-3,-4,-5,-6};
    int ret = Solution().Max(v);
    if(ret == -1)
    {
        std::cout << "测试用例2通过" << std::endl;
    }
    else
    {
        std::cerr << "测试用例2未通过" << std::endl;
    }
}
int main()
{
    Test1();
    Test2();
    return 0;
}